<%-- 
    Document   : index
    Created on : 23/05/2012, 11:10:58
    Author     : luiz.perez
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="style.css" />
        <script type="text/javascript" src="cadastro.js"></script>
        <title>JSP Page</title>
    </head>
    <body>
        <h1>TESTE!</h1>
        <form id="divTeste" name="FormCadastro" action="respostacadastro.jsp" method="post" onsubmit="return ValidaForm()">
            Nome*: <input type="text" name="nome" /></label><p>
            e-mail*: <input type="text" name="email" onblur="ChecaEmail()"/><label id="confEmail"></label><p>
            Senha*: <input type="password" name="senha" /><label id="conf"></label><p>
            Confirme sua senha*: <input type="password" name="senha1" oninput="ChecaSenha()" /><p>
            CEP*: <input type="text" name="cep" /><p>
            Telefone: <input type="text" name="telefone" /><p>
            Data de Nascimento (dd-mm-aaaa): <input type="date" name="dataNascimento" /><p>
            <div id="radioButtons">
                <label><input type="radio" name="tipoCadastro" value="1" id="rbAluno" onclick="MostraAluno()"/>Aluno</label>
                <label><input type="radio" name="tipoCadastro" value="2" id="rbProfessor" onclick="MostraProfessor()"/>Professor</label>
                <label><input type="radio" name="tipoCadastro" value="3" id="rbExterno" onclick="MostraExterno()"/>Outro</label>
            </div>
            <div id="formAluno" style="display: none">
                RA*: <input type="text" name="ra" /><p>
                Curso*: <input type="text" name="curso" /><p>
                Semestre*: <input type="text" name="semestre" /><p>
            </div>
            <div id="formProfessor" style="display: none">
                Nº de Registro: <input type="text" name="noRegistro" /><p>
            </div>
            <div id="formExterno" style="display: none">
                Empresa: <input type="text" name="empresa" /><p>
                Cargo: <input type="text" name="cargo" /><p>
                Faculdade: <input type="text" name="faculdade" /><p>
                Curso: <input type="text" name="graduacao" /><p>
            </div>
            <input id="btnSetLocal" type="submit" value="OK" />
            <br>Campos com asterisco(*) são obrigatórios.
        </form>
    </body>
</html>